package sqlexplorer.ui.model;

public class ColumnNode implements IComposite{
	
	private String m_name;
	private Object m_parent;
	
	public ColumnNode(String name){
		m_name=name;
	}
	
	public ColumnNode(String name,Object parent){
		m_name=name;
		m_parent=parent;
	}
	
	@Override
	public Object[] getChildren(){
		return null;
	}
	
	@Override
	public Object getParent(){
		return m_parent;
	}
	
	@Override
	public boolean hasChildren(){
		return false;
	}
	
	public String getName(){
		return m_name;
	}
	
	public void setParent(Object parent){
		m_parent=parent;
	}
}
